package com.naire.modul.projeckpi.service;

import java.util.List;

import net.common.service.GeneralService;
import com.naire.modul.projeckpi.dao.ProjeckpiDao;
import com.naire.modul.projeckpi.dao.impl.ProjeckpiDaoImpl;
import com.naire.modul.projeckpi.vo.ProjeckpiVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class ProjeckpiSearchService extends GeneralService {

	private List<ProjeckpiVo> list;
	private Integer project_id;
	private String parent_code;

	@Override
	public void execute() throws Exception {
		ProjeckpiDao dao = new ProjeckpiDaoImpl();
		list = dao.search(pageBean, project_id, parent_code);
	}

	public List<ProjeckpiVo> getList() {
		return list;
	}

	public void setProject_id(Integer project_id) {
		this.project_id = project_id;
	}

	public void setParent_code(String parent_code) {
		this.parent_code = parent_code;
	}

}
